package kubayaxi.video.mybatis.customize.model.comment.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommentItem {
    @ApiModelProperty("评论id")
    private Long commentId;
    @ApiModelProperty("头像地址")
    private String portraitUrl;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;
    @ApiModelProperty("点赞数量")
    private Integer likeNum;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("回复数量")
    private Integer commentNum;
    @ApiModelProperty("当前用户是否点赞 60:已点赞 61:未点赞")
    private Integer likeStatus;
    @ApiModelProperty("子评论 空的")
    private List reply;
    @ApiModelProperty("是否有子回复")
    private Boolean haveReply;
}
